{template 'common/header'}
{template 'base/css'}

<div class="btn-group" role="group" aria-lable="...">
	
	<a href="{php echo aurl(2)}" class="btn btn-default">新增</a>
	<a href="#" class="btn btn-default check-all-control">全选</a>
	<a href="{php echo aurl(4)}" class="btn btn-default ajax-post confirm" data-confirm>删除</a>

</div>

<form action="javascript:void(0)" method="post" id="form">
	
<table class="table table-striped">
	<thead>
	 <tr>
	 	 <td>#</td>
        <td>编号</td>
        <td width="30%">标题</td>
        <td>所属分类</td>   
        <td>价格</td>
        <td>策划人</td>
        <td>浏览数</td>
        <td>报名数</td>
        <td>状态</td>
        <td>到期时间</td>
        <td>操作</td>

	 </tr>	
    

	</thead>
    <tbody>
        {loop $dataList $index $item}
        <tr>
    	  <td>#</td>
        
        <td>{$item['id']}</td>
        <td width="30%">{$item['title']}</td>
        <td>{$item['active_cate_title']}</td>   
        <td>${$item['price']}</td>
        <td>{$item['service_user_name']}</td>
        <td>{$item['views']}</td>
        <td>{$item['register']}</td>
        <td>{php echo statusName($item['status'])}</td>
        <td>{php echo date('Y-m-d H:i:s', $item['end_time'])}</td>
        <td>
            <label><a href="{php echo aurl(['et' => 2, 'pid' => $item['id']])}">修改</a></label>
            <label><a href="{php echo aurl(['et' => 6, 'pid' => $item['id']])}">订单</a></label>
            <label><a href="">预览</a></label>
        </td>
</tr>
{/loop}

    </tbody>

	
</table>
{$page}
</form>

{template 'base/js'}
{template 'common/footer'}